package com.Team7.domain;

public class SearchedFile {

    private int diskNumber;//盘块号
    private int diskLocation;//下标
    private Item item;//8个字节

    public int getDiskNumber()
    {
        return diskNumber;
    }
    public void setDiskNumber(int diskNumber) {
        this.diskNumber = diskNumber;
    }
    public int getDiskLocation() {
        return diskLocation;
    }
    public void setDiskLocation(int diskLocation) {
        this.diskLocation = diskLocation;
    }
    public Item getItem() {
        return item;
    }
    public void setItem(Item item) {
        this.item = item;
    }
    public SearchedFile(int diskNumber, int diskLocation, Item item) {
        super();
        this.diskNumber = diskNumber;
        this.diskLocation = diskLocation;
        this.item = item;
    }
    @Override
    public String toString() {
        return "SearchedFile [diskNumber=" + diskNumber + ", diskLocation=" + diskLocation + ", item=" + item + "]";
    }

}
